
all: dll gui dist/msnwcrec.exe

dll:
	make -C ml20dll

gui:
	make -C ml20gui

debug:
	make -C ml20gui debug

dist/msnwcrec.exe: dist/msnwcrec.nsi
	cp ml20dll/ml20dll.dll dist/
	strip dist/ml20dll.dll
	cp ml20gui/ml20gui.exe dist/
	strip dist/ml20gui.exe
	cd dist && makensis msnwcrec.nsi

clean:
	make -C ml20dll clean
	make -C ml20gui clean
	rm -f dist/msnwcrec.exe dist/ml20dll.dll dist/ml20gui.exe
